package com.suse.ecommerce.service;

import com.suse.ecommerce.pojo.Shopping;

import java.util.List;

public interface ShoppingService {
    public void updateShoppingNum(long shoppingId,Integer num);

    public List<Shopping> queryShopping(Integer userId);

    public long queryShoppingByPidAndUid(long product,Integer userId);

    public void addShopping(Shopping shopping);

    public void updateShoppingNumAdd(long shoppngId);

    public  void delShopping(Shopping shopping);
}
